public class Test {
    public static void main(String[] args) {
        CPU cpu=new CPU();
        cpu.speed=2200;
        HardDisk hardDisk = new HardDisk();
        hardDisk.amount=200;
         PC pc=new PC();
         pc.setCPU(cpu);
         pc.setHardDisk(hardDisk);
         pc.show();
    }
}
